export interface IResponse{
    resultCode:number
    resultInfo:any,
    token?:string,
}

/**
 * 商品
 */
export interface IGoods {
    id: number
    shop: string
    picture: string
    product: string
    price: number
    oldprice: number
    putaway: number
    detail: string
    categoryname: string
    categoryId?: number
    category_id?:number
    list?:Array<string>
}

/**
 * 轮播
 */
export interface IBanner{
    id:number
    url:string
    content:string
}

/**
 * 商品分类
 */
export interface ICategory{
    id:number
    name:string
    text:string
}

/**
 * 购物车商品
 */
export interface ICartGoods{
    id:number
    name:string // 商品名称
    price:number // 价格
    url:string //图片地址
    num:number //数量
    state:boolean //状态
}

/**
 * 账户
 */
export interface IAccount{
    id:string
    nick:string
    name?:string
    url:string
}